﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FactoryMode.Calculator
{
    /// <summary>
    /// 计算器计算操作的基础类
    /// </summary>
    class Operation
    {
        private double numberOne;
        private double numberTwo;

        /// <summary>
        /// 第一个操作数
        /// </summary>
        public double NumberOne { get => numberOne; set => numberOne = value; }
        /// <summary>
        /// 第二个操作数
        /// </summary>
        public double NumberTwo { get => numberTwo; set => numberTwo = value; }

        internal virtual double GetResult()
        {
            return 0;
        }
    }
}
